#pragma once
#include <iostream>
using namespace std;
class BaseObject {
public:
	BaseObject(int v):value(v){}
	virtual void print();
	int value;
};

void BaseObject::print()
{
	cout << value << endl;
}

